 let routes =[
    {
        path:'welcome',
        component:()=>import('../page/home/welcome/index.vue'),
        meta:{
            key:'glsy',
            title:'管理首页',
            icon:'icon-houtaiguanli-shouye'
        }
    },
    {
        path:'stu',
        component:()=>import('../page/home/stu/index.vue'),
        meta:{
            key:'xygl',
            title:'学员管理',
            icon:'icon-xueyuanguanli'
        },
        children:[
            {
                path:'product',
                component:()=>import('../page/home/stu/product/index.vue'),
                meta:{
                    key:'xyxmgl',
                    title:'学员项目管理',
                    icon:'icon-project_management'
                }
            },
            {
                path:'dormitory',
                component:()=>import('../page/home/stu/dormitory/index.vue'),
                meta:{
                    key:'xyzl',
                    title:'学员资料',
                    icon:'icon-ziliao'
                }
            },
            {
                path:'profile',
                component:()=>import('../page/home/stu/profile/index.vue'),
                meta:{
                    key:'xysh',
                    title:'学员宿舍',
                    icon:'icon-sushe'
                }
            }
        ]
    },
      {
        path:'attendence',
        component:()=>import('../page/home/attendence/index.vue'),
        meta:{
            key:'kxgl',
            title:'考勤管理',
            icon:'icon-kaoqinguanli'
        }
      },
      {
        path:'mine',
        component:()=>import('../page/home/mine/index.vue'),
        meta:{
            key:'wdzx',
            title:'我的中心',
            icon:'icon-gerenzhongxin-zhihui'
        }
      },
      {
        path:'statistics',
        component:()=>import('../page/home/statistics/index.vue'),
        meta:{
            key:'sjtj',
            title:'数据统计',
            icon:'icon-shujutongji'
        }
      },
      {
        path:'users',
        component:()=>import('../page/home/users/index.vue'),
        meta:{
            key:'yhgl',
            title:'用户管理',
            icon:'icon-yonghuguanli'
        }
      },
      {
        path:'permission',
        component:()=>import('../page/home/permission/index.vue'),
        meta:{
            key:'permission',
            title:'权限设置',
            icon:'icon-quanxianguanli'
        },
        children:[
            {
                path:'role',
                component:()=>import('../page/home/permission/role/index.vue'),
                meta:{
                    key:'role',
                    title:'角色管理',
                    icon:'icon-jiaoseguanli'
                }
            },
            {
                path:'permissionManagement',
                component:()=>import('../page/home/permission/permissionManagement/index.vue'),
                meta:{
                    key:'permissionConfig',
                    title:'权限管理',
                    icon:'icon-quanxianguanli1'
                }
            },
        ]
      },
]
export default routes 